package com.groupseven.happycampus.mapper;

import com.groupseven.happycampus.common.pojo.ParttimeHoliday;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @CreateTime: 2022-07-26  21:45
 */
public interface ParttimeHolidayMapper {
    List<ParttimeHoliday> findAllParttimeHolidays(Object o);

    List<ParttimeHoliday> selectParttimeHolidayByParams(Map<String, Object> params);

    int deleteParttimeHoliday(Integer id);

    int deleteParttimeHolidayByIds(@Param("ids") String[] ids);

    int updateParttimeHoliday(ParttimeHoliday parttimeHoliday);

    int insertParttimeHoliday(ParttimeHoliday parttimeHoliday);

    List<ParttimeHoliday> selectParttimeHolidays(ParttimeHoliday parttimeHoliday);

}
